package top.continew.admin.jobfair.service;

import top.continew.starter.extension.crud.model.resp.PageResp;
import top.continew.starter.extension.crud.service.BaseService;
import top.continew.admin.jobfair.model.query.CompanyQuery;
import top.continew.admin.jobfair.model.req.CompanyReq;
import top.continew.admin.jobfair.model.resp.CompanyDetailResp;
import top.continew.admin.jobfair.model.resp.CompanyResp;

import java.util.List;

/**
 * 企业信息管理业务接口
 *
 * @author xiahaike
 * @since 2024/09/10 20:58
 */
public interface CompanyService extends BaseService<CompanyResp, CompanyDetailResp, CompanyQuery, CompanyReq> {
    CompanyResp selectOne(CompanyQuery companyQuery);

    PageResp<CompanyResp> listByIds(List<Long> companyIds);

    boolean checkDuplicate(CompanyReq req, Long id);

    Long getCompanyId(Long id);
}